﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace WpfAGVSystem.Migrations
{
    public partial class init20 : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<int>(
                name: "Button1",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "Button2",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "Button3",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "DIorder",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "DOorder",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "Have",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);

            migrationBuilder.AddColumn<int>(
                name: "Iomodel",
                table: "FullCache_Entity",
                type: "int",
                nullable: false,
                defaultValue: 0);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "Button1",
                table: "FullCache_Entity");

            migrationBuilder.DropColumn(
                name: "Button2",
                table: "FullCache_Entity");

            migrationBuilder.DropColumn(
                name: "Button3",
                table: "FullCache_Entity");

            migrationBuilder.DropColumn(
                name: "DIorder",
                table: "FullCache_Entity");

            migrationBuilder.DropColumn(
                name: "DOorder",
                table: "FullCache_Entity");

            migrationBuilder.DropColumn(
                name: "Have",
                table: "FullCache_Entity");

            migrationBuilder.DropColumn(
                name: "Iomodel",
                table: "FullCache_Entity");
        }
    }
}
